#define _CRT_SECURE_NO_WARNINGS 1
#define _SILENCE_EXPERIMENTAL_FILESYSTEM_DEPRECATION_WARNING

#include "util.hpp"
#include "data.hpp"
#include "cloud.hpp"

#define BACKUP_FILE "./backup_file"
#define BACKUP_DIR "./backdir"

int main()
{
	//Cloud::FileUtil file("./");
	//std::vector<std::string> array;
	//file.ScanDirectory(&array);
	//Cloud::DataManager data(BACKUP_FILE);
	//for (auto& a : array)
	//{
	//	data.Insert(a, "iiiiiiiiiiii");
	//	//std::cout << a << std::endl;
	//}
	/*Cloud::DataManager data(BACKUP_FILE);
	std::string str;
	data.GetOneByKey(".\\cloud_client.vcxproj", &str);
	std::cout << str << std::endl;*/

	Cloud::Backup back(BACKUP_DIR, BACKUP_FILE);
	back.RunModule();
	return 0;
}
